package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 评估评分配置主表
 * </p>
 *
 * @author zqb
 * @date 2024-07-09 11:07:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_pgpf")
public class BPgpf extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 评估评分名称
     */
    @TableField(value = "pg_name", condition = LIKE)
    @Schema(description = "评估评分名称")
    private String pgName;
    /**
     * 科室id列表json
     */
    @TableField(value = "dept_list", condition = LIKE)
    @Schema(description = "科室id列表json")
    private String deptList;
    /**
     * 角色id
     */
    @TableField(value = "role_id", condition = LIKE)
    @Schema(description = "角色id")
    private String roleId;
    /**
     * 启用状态0禁用1启用 默认1
     */
    @TableField(value = "enabled", condition = EQUAL)
    @Schema(description = "启用状态0禁用1启用 默认1")
    private Integer enabled;
    /**
     * 步骤状态0禁用1启用 默认1
     */
    @TableField(value = "bz_enabled", condition = EQUAL)
    @Schema(description = "步骤状态0禁用1启用 默认1")
    private Integer bzEnabled;
    /**
     * 步骤单选0禁用1启用 默认0
     */
    @TableField(value = "bz_dx_enabled", condition = EQUAL)
    @Schema(description = "步骤单选0禁用1启用 默认0")
    private Integer bzDxEnabled;

    /**
     * 创建时间
     */

    /**
     * 是否删除0flase1true  默认0
     */
    @TableField(value = "is_deleted", condition = EQUAL)
    @Schema(description = "是否删除0flase1true  默认0")
    private Integer isDeleted;
    /**
     * 是否有总分说明，0-无，1-有
     */
    @TableField(value = "has_score", condition = EQUAL)
    @Schema(description = "是否有总分说明，0-无，1-有")
    private Integer hasScore;
    /**
     * 是否展示分值
     */
    @TableField(value = "show_score", condition = EQUAL)
    @Schema(description = "是否展示分值")
    private Integer showScore;
    /**
     * 权重
     */
    @TableField(value = "order_no", condition = EQUAL)
    @Schema(description = "权重")
    private Integer orderNo;
    /**
     * 评估评分编码
     */
    @TableField(value = "pg_code", condition = LIKE)
    @Schema(description = "评估评分编码")
    private String pgCode;



}
